package utils;

import bean.ListaDePreciosVO;
import com.thoughtworks.xstream.XStream;

public class ListaPreciosConverter {
	private static XStream xs = new XStream();
	
	
	
	public static ListaDePreciosVO fromXmlToObject(String xml){
		return (ListaDePreciosVO)xs.fromXML(xml);
	}
	
	public static String fromObjectToXML(ListaDePreciosVO lista){
		return xs.toXML(lista);
	}
	
}

